﻿<Window x:Class="AirlinePilotAcademy_WPF.UI_Administrator.Students.SearchStudents"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Buscar Estudiantes" Height="560" Width="500" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" Icon="/AirlinePilotAcademy_WPF;component/Images/LoginIcon.png" IsManipulationEnabled="True">
    <Window.Background>
        <ImageBrush ImageSource="/AirlinePilotAcademy_WPF;component/Images/Background.png"/>
    </Window.Background>
    <Grid>
        <TextBox Name="searchTB" HorizontalAlignment="Left" Height="33" Margin="131,104,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="235" TextChanged="searchTB_TextChanged" MaxLength="15" PreviewTextInput="searchTB_PreviewTextInput" />
        <Label Content="Buscar Estudiantes" HorizontalAlignment="Left" Margin="200,0,0,0" VerticalAlignment="Top" FontFamily="Kunstler Script" FontSize="48" Width="282" Foreground="#FF87B42C"/>
        <DataGrid Name="StudentsResultsDG" SelectionMode="Single" ScrollViewer.HorizontalScrollBarVisibility="Visible" IsReadOnly="True" HorizontalAlignment="Left" Height="186" Margin="69,245,0,0" VerticalAlignment="Top" Width="362" BorderBrush="Black" BorderThickness="2" FontSize="16" RowBackground="#FF87B42C" HorizontalScrollBarVisibility="Hidden">
            
        </DataGrid>
        <Button Content="Nueva Inscripcion" x:Name="NewInscriptionB" HorizontalAlignment="Left" Margin="69,455,0,0" VerticalAlignment="Top" Width="130" Height="46" Background="#FF87B42C" FontSize="14" FontWeight="Bold" Visibility="Hidden" Click="NewInscriptionB_Click"/>
        <Button Content="Modificar Datos" x:Name="ModifyDataB" HorizontalAlignment="Left" Margin="69,455,0,0" VerticalAlignment="Top" Width="130" Height="46" Background="#FF87B42C" FontSize="14" FontWeight="Bold" Click="ModifyDataB_Click" />
        <Button Content="Ver Datos Estudiante" x:Name="ViewStudentsData" HorizontalAlignment="Left" Margin="277,455,0,0" VerticalAlignment="Top" Width="154" Height="46" Click="ViewStudentsData_Click" />
        <GroupBox FontSize="14" Header="Criterio de Búsqueda" Foreground="White" HorizontalAlignment="Left" Margin="131,156,0,0" VerticalAlignment="Top" Height="69" Width="235">
            <Grid Height="26" VerticalAlignment="Top">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="99*"/>
                    <ColumnDefinition Width="102*"/>
                    <ColumnDefinition Width="22*"/>
                </Grid.ColumnDefinitions>
                <RadioButton Name="searchByNameRB" IsChecked="True" Content="Por Nombre" Foreground="White" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,18,0,-8"/>
                <RadioButton Name="searchByIdRB" Content="Por CI" Foreground="White" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="23,18,0,-8" Grid.Column="1"/>

            </Grid>
        </GroupBox>
                <!-- <Button Content="Modificar Estado" x:Name="ModifyStatusB" HorizontalAlignment="Left" Margin="301,399,0,0" VerticalAlignment="Top" Width="130" Height="46" Background="#FF87B42C" FontSize="14" FontWeight="Bold" />
        -->
    </Grid>
</Window>
